代码拉取完成,页面将自动刷新
A Java library (wrapper/binding) for Ollama server.
Find more details on the website.
In your Maven project, add this dependency:
<dependency>
<groupId>io.github.amithkoujalgi</groupId>
<artifactId>ollama4j</artifactId>
<version>1.0.57</version>
</dependency>
Latest release:
Find the full API specifications on the website.
Build:
make build
Run unit tests:
make ut
Run integration tests:
make it
Releases (newer artifact versions) are done automatically on pushing the code to the main
branch through GitHub
Actions CI workflow.
@JsonProperty
)ask
APIs such as:
options
: additional model parameters for the Modelfile such as temperature
-
Supported params.system
: system prompt to (overrides what is defined in the Modelfile)template
: the full prompt or prompt template (overrides what is defined in the Modelfile)context
: the context parameter returned from a previous request, which can be used to keep a
short
conversational memorystream
: Add support for streaming responses from the modelContributions are most welcome! Whether it's reporting a bug, proposing an enhancement, or helping with code - any sort of contribution is much appreciated.
The nomenclature and the icon have been adopted from the incredible Ollama project.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。